extends "../talin-1/talin-1.gd"


func _extInit():
	._extInit()
	lv = 2             #等级的设置
	addSkill("每{cd}秒，优先在敌方场内召唤一个完全继承自身装备的分身，该分身会立即嘲讽周围2格的敌人", "心智分身", "talin2", 12)

func _castCdSkill(id):
	._castCdSkill(id)
	if id=="talin2" and not isSumm:
		xzfs()

func xzfs():
	var cha = summChara("talin-mirror%d"%lv, true, true)
	if cha == null:return
	summedCha.append(cha)
	for i in getCellChas(cha.cell, 2, 1):
		castBuff(i, buff.b_chaoFeng.new(8))
		i.aiCha = cha
